<%@ page language="java" import="java.util.*,com.beans.AdminInfo,com.dao.AdminDao" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>admin_info</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<link rel="stylesheet" type="text/css" href="css/edittable.css"/>
	
  </head>
  
  <body>
	<div class ="div_title">
        <div class="div_titlename"> <img src="images/san_jiao.gif" ><span>用户信息明细</span></div>
    </div>
    <table class="edit_table" >
        <tr>
            <td class="td_info">账号</td>
            <td>
               ${session_admin.adminName}
            </td>
        </tr>
        <tr>
            <td class="td_info">账号角色</td>
            <td>
                <%
                   int roleId=((AdminInfo)request.getSession().getAttribute("session_admin")).getRoleId();
                   out.print(new AdminDao().getRoleName(roleId));
                %>
            </td>
        </tr>
        <tr>
            <td class="td_info">当前状态</td>
            <td>正常</td>
        </tr>
        <tr>
        	<td class="td_info">备注</td>
        	<td> ${session_admin.note }</td>
        </tr>
       <tr>
            <td class="td_info">最后更新时间</td>
            <td>${session_admin.editDate }</td>
       </tr>
    </table>
  </body>
</html>
